
import navbarMixins from '@/mixins/navbar'
import mpForm from '@/mixins/mpForm'
import backPress from '@/mixins/backPress'

function toast(title, opts){
    uni.showToast({
		title: String(title),
		icon: 'none',
        duration: 2000,
		...opts,
	})
}


// 全局挂载属性
uni.$fl = {
	// mixins
	navbarMixins,
	mpForm,
	backPress,
	// ---------公共函数----------
    toast
}
